package DataBean;

public class Info {

    private Basic bec = new Basic();
    private Family fam = new Family();
    private Network net = new Network();
    private Work work = new Work();
    private String rev = new String();

    public Info() {
    }

    public Info(Basic bec, Family fam, Network net, Work work, String rev) {
        this.bec = bec;
        this.fam = fam;
        this.net = net;
        this.work = work;
        this.rev = rev;
    }

    @Override
    public String toString() {
        return "Info{" + "bec=" + bec + ", fam=" + fam + ", net=" + net + ", work=" + work + ", rev=" + rev + '}';
    }

    /**
     * @return the bec
     */
    public Basic getBec() {
        return bec;
    }

    /**
     * @param bec the bec to set
     */
    public void setBec(Basic bec) {
        this.bec = bec;
    }

    /**
     * @return the fam
     */
    public Family getFam() {
        return fam;
    }

    /**
     * @param fam the fam to set
     */
    public void setFam(Family fam) {
        this.fam = fam;
    }

    /**
     * @return the net
     */
    public Network getNet() {
        return net;
    }

    /**
     * @param net the net to set
     */
    public void setNet(Network net) {
        this.net = net;
    }

    /**
     * @return the work
     */
    public Work getWork() {
        return work;
    }

    /**
     * @param work the work to set
     */
    public void setWork(Work work) {
        this.work = work;
    }

    /**
     * @return the rev
     */
    public String getRev() {
        return rev;
    }

    /**
     * @param rev the rev to set
     */
    public void setRev(String rev) {
        this.rev = rev;
    }

    /**
     * @return the id
     */
}
